<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        const Person = {
            name:'tom',
            age:15,
            sayName:function () {
                alert(this.name);
            }
        };

        alert(Person.age);
        Person.sayName();



    </script>
</head>
<body>

</body>
</html>